package com.swanclouds.model.common.resolvers;

/**
 * Resolves the service version to the latest version found within the Service Catalog
 *
 * @author Jeremy Unruh
 */
public final class LatestServiceVersionResolver implements ServiceVersionResolver {

    public static final LatestServiceVersionResolver INSTANCE = new LatestServiceVersionResolver();

    private LatestServiceVersionResolver() {

    }

//    @Override
//    public Service resolveV3(ServiceType type, SortedSet<? extends Service> services) {
//        return services.last();
//    }
//
//    @Override
//    public Access.Service resolveV2(ServiceType type, SortedSet<? extends Access.Service> services) {
//        return services.last();
//    }

}
